
import { request } from '@/utils/request';

// 查询 token列表
export const getPage = (params: any) => {
  return request.get({ url: '/staff/web/userCenter/auth/oauth2/token/page.json', params })
}

// 删除 token
export const del = (accessToken: number) => {
  return request.delete({
    url: '/staff/web/userCenter/auth/oauth2/token/delete?accessToken=' + accessToken
  })
}
